package userrole

import (
	"context"
	"ruoyi-vue-pro-go/internal/service"

	"ruoyi-vue-pro-go/api/userrole/v1"
)

func (c *ControllerV1) AssignUserRole(ctx context.Context, req *v1.AssignUserRoleReq) (res *v1.AssignUserRoleRes, err error) {
	return service.UserRole().AssignUserRole(ctx, req)
}
